import React, { PureComponent, Fragment } from 'react';
import { connect } from 'dva';
import { Card, Spin, Row, Col, Input, Select, Button, Steps, Radio } from 'antd';
import moment from 'moment';
import router from 'umi/router';

import StandardTable from '@/components/StandardTable';
import PageHeaderWrapper from '@/components/PageHeaderWrapper';
import styles from './ChooseStock.less';

import InfiniteListExample from '@/pages/ChooseStockSystem/Option/InfiniteListExample';

/* eslint react/no-multi-comp:0 */
@connect(({ chooseStockRule, loading }) => ({
  chooseStockRule,
  loading: loading.models.chooseStockRule,
}))
class ChooseStock extends PureComponent {
  state = {};

  // 默认加载数据-起始方法
  render() {
    const {
      chooseStockRule: { data2, filterData },
      total,
    } = this.props;

    return (
      <PageHeaderWrapper title="Minervinipa">
        <Card bordered={false}>
          <div>
            <InfiniteListExample />
          </div>
        </Card>
      </PageHeaderWrapper>
    );
  }

  // 加载完 之后 再加载 此 方法
  componentDidMount() {
    const { dispatch } = this.props;
    const { formValues, listLoading } = this.state;
    /*    dispatch({
          type: 'rule/GetEarningDateChangeRateList',
          payload: formValues,
        }); */
  }
}

export default ChooseStock;
